package com.bitcs.accesscontrol.util;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author GeChen
 */
@Configuration
public class RestConfig {
    @Bean
    public static RestTemplate restTemplate() {
        RestTemplate restTemplate = new RestTemplate();
        return restTemplate;
    }

    public static class UrlConst {
        public static String baseUrl = "http://101.200.128.17:8088/api/getAccess";
        public static String baseType = "sign";
    }
}
